<tagLib name="html" />
<include file="Public:header" />
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor-min.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/lang/zh_CN.js"></script>
<script>
var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="remarks"]', {
					width:'600px',height:'500px',allowFileManager:true,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'image', 'link','flash','media','insertfile','map']
				});
			});
function save(){
	$('remarks').innerHTML	= editor.html();
	sendForm('form1','__URL__/insert/')	
}
</script>
<div id="main" class="main" >
<div class="content">
<div class="title">新增单位 [ <a href="__URL__">返回列表</a> ]</div>
<form method='post' id="form1" action="__URL__/insert/" >
<table cellpadding=3 cellspacing=3>
<tr>
	<td class="tRight" >单位名称：</td>
	<td class="tLeft" ><input type="text" class="huge bLeftRequire"  check='^\S+$' warning="单位名称不能为空,且不能含有空格" name="sName" value=""></td>
</tr>
<tr>
	<td class="tRight">单位类型：</td>
	<td class="tLeft"><SELECT class="huge bLeftRequire"  name="sType">
	<option value="公办中学">公办中学</option>
	<option value="公办小学">公办小学</option>
    <option value="公办幼儿园">公办幼儿园</option>
    <option value="局直属单位">局直属单位</option>
    <option value="民办学校">民办学校</option>
    <option value="民办小学">民办小学</option>
	</SELECT></td>
</tr>
<tr>
	<td class="tRight" >法人代表：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft"  check='' warning="" name="sFr" value=""></td>
</tr>
<tr>
	<td class="tRight" >联 系 人：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft"  check='' warning="" name="sLxr" value=""></td>
</tr>
<tr>
	<td class="tRight" >联系电话：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft"  check='' warning="" name="sPhone" value=""></td>
</tr>
<tr>
	<td class="tRight" >单位地址：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft"  check='' warning="" name="sAddress" value=""></td>
</tr>
<tr>
	<td class="tRight" >单位人数：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft"  check='' warning="只能输入数字" name="sStaffCount" value=""></td>
    <tr>
	<td class="tRight" >学生人数：</td>
	<td class="tLeft" ><input type="text" class="huge bLeft"  check='' warning="只能输入数字" name="sStudentCount" value=""></td>
</tr>
<tr>
	<td class="tRight tTop">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</td>
	<td class="tLeft"><TEXTAREA class=""  name="remarks" rows="5" cols="50" id="remarks"></textarea>
</td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center"><input type="hidden" name="ajax" value="1">
	<input type="button" value="保 存" onclick="save()" class="small submit">
	<input type="reset" class="submit  small" value="清 空" ></td>
</tr>
</table>
</form>
</div>
</div>
